import request from '@/utils/request'
import qs from "querystring"
export default{
    //已选分页查询
    findBrandSelect(pageNum,pageSize,ids){
        return request({
            url:"/api-operate/v/brands/getFindPost",
            method:"get",
            params:{
                pageNum,
                pageSize,
                ids
            }
        })
    },

    //已选筛选分页查询
    findBrandScreen(pageNum, pageSize, ids, sortId){
        return request({
            url:"/api-operate/v/brands/getBrandScreen",
            method:"get",
            params:{
                pageNum,
                pageSize,
                ids,
                sortId
            }
        })
    },

    //修改品牌
    getFindBraUpdate(ids,vBrands){
        var data=qs.stringify({ids,vBrands})
        return request({
            url:"/api-operate/v/brands/getFindBraUpdate",
            method:"post",
            data
        })
    }
}